package org.monitor.servlet.router;

import java.lang.reflect.Method;

import org.monitor.servlet.controller.Controller;

public class Action {

	private String controllerKey;
	private String actionKey;
	private Class<? extends Controller> controller;
	private Method method;
	
	Action(String controllerKey, String actionKey, Class<? extends Controller> controller, Method method){
		this.controllerKey = controllerKey;
		this.actionKey = actionKey;
		this.controller = controller;
		this.method = method;
	}

	public String getControllerKey() {
		return controllerKey;
	}

	public String getActionKey() {
		return actionKey;
	}

	public Class<? extends Controller> getController() {
		return controller;
	}

	public Method getMethod() {
		return method;
	}
	
}
